package com.xkdx.guangguang.fragment.shopunitproduct;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;
import com.xkdx.guangguang.module.statics.IConstants;

public class UnitProductAction extends AbsAction {
	private String id;

	public UnitProductAction(String id) {
		this.url = IConstants.INFO_URL;
		this.id = id;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("ProductID", id);

		String json = constructJson(map);
		Parameter parameter = new Parameter("PosDeviceChapterAction",
				"getProductDetail", json);
		

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
